﻿using System;

namespace SPRepository
{
    public class AnnouncementContentTypeDto : ItemContentTypeDto
    {
        public AnnouncementContentTypeDto() { }

        public AnnouncementContentTypeDto(MultilineTextFieldDto body, DateTimeFieldDto expires, ItemContentTypeDto baseDto)
            : base(baseDto)
        {
            Body = body;
            Expires = expires;
        }

        public AnnouncementContentTypeDto(AnnouncementContentTypeDto dto) : this(dto.Body, dto.Expires, dto)
        {
        
        }

        public MultilineTextFieldDto Body { get; set; }
        public DateTimeFieldDto Expires { get; set; }
    }
}